Omplus.base.define(Omplus.views.Panel, {
	omplusName : "myaccountPanel",
	controller : "userController",
	renderTo : "managements",
	models : {},
	components : [ {
		omplusType : "TabPanel",
		omplusName : "myaccountFirstPanel",
		layout : {
			omplusType : "HorizontalLayout"
		},
		components : [ {
			omplusType : "Panel",
			omplusName : "myaccountleftPanel",
			layout : {
				omplusType : "VerticalLayout"
			},
			width : "300px",
			components : [ {
				omplusType : "LabelInputPair",
				omplusName : "myaccountUsername",
				labelModel : "Assets.list.username_label.localValue",
				labelController : "languageController",
				model : "User.username",
				controller : "userController",
				inputType : "Label"
			}, {
				omplusType : "LabelInputPair",
				omplusName : "myaccountName",
				labelModel : "Assets.list.name_label.localValue",
				labelController : "languageController",
				model : "User.name",
				controller : "userController",
				inputType : "Label"
			}, {
				omplusType : "LabelInputPair",
				omplusName : "myaccountrLastname",
				labelModel : "Assets.list.last_name_label.localValue",
				labelController : "languageController",
				model : "User.last_name",
				controller : "userController",
				inputType : "Label"
			} ]
		}, {
			omplusType : "Panel",
			omplusName : "myaccountMiddlePanel",
			layout : {
				omplusType : "VerticalLayout"
			},
			width : "300px",
			components : [ {
				omplusType : "LabelInputPair",
				omplusName : "myaccountPrivilegeName",
				labelModel : "Assets.list.privileges_label.localValue",
				labelController : "languageController",
				model : "User.privilege_name",
				controller : "userController",
				inputType : "Label"
			}, {
				omplusType : "LabelInputPair",
				omplusName : "myaccountPassword",
				labelModel : "Assets.list.label_new_password.localValue",
				labelController : "languageController",
				inputType : "PasswordInput",
				model : "User.password",
				controller : "userController",
				inputCssClasses:["no-transform"]
			}, {
				omplusType : "LabelInputPair",
				omplusName : "myaccountConfirmPassword",
				labelModel : "Assets.list.label_confirm_new_password.localValue",
				labelController : "languageController",
				inputType : "PasswordInput",
				model : "User.confirm_password",
				controller : "userController",
				inputCssClasses:["no-transform"]
			} ]
		}, {
			omplusType : "Panel",
			omplusName : "myaccountRightPanel",
			layout : {
				omplusType : "VerticalLayout"
			},
			width : "300px",
			components : [ {
				omplusType : "Button",
				omplusName : "savePassword",
				model : "Assets.list.label_save_password.localValue",
				controller : "languageController",
				click : function() {
					Omplus.globals.getObject("User").getAction("update").run();
				}
			}

			]
		}, {
			omplusType : "Panel",
			omplusName : "myaccountOverlayPanel",
			renderTo : "addUserPanel",
			width : "900px"
		} ],
		model : "Assets.list.myaccount_label.localValue",
		controller : "languageController"
	} ],
	layout : {
		omplusType : "TabLayout"
	}
});